/* SVN FILE: $Id: string.js 11 2008-06-22 17:15:42Z rafaelbandeira3 $ */
/**
* Application : The Javascript MVC Framework
*
* @package application.core
* @subpackage cookie
* @author 			$Author: rafaelbandeira3 $
* @copyright 		(c) Rafael Bandeira, Marcelo Condotta, Henrique Condotta. All Rights Reserved.
* @version 			$Revision: 11 $
* @lastrevision 	$Date: 2008-06-22 17:15:42 +0000 (Sun, 22 Jun 2008) $
* @modifiedby 		$LastChangedBy: rafaelbandeira3 $
* @lastmodified 	$LastChangedDate: 2008-06-22 17:15:42 +0000 (Sun, 22 Jun 2008) $
* @license 			The MIT License [http://www.opensource.org/licenses/mit-license.php]
* @filesource 		$URL: http://jsmvcapplication.googlecode.com/svn/trunk/application/src/core/string.js $
*/
App.String = new Object
({
	ucFirst : function()
	{
		uppercased = this.split('')[0].toUpperCase();
		return this.replace(/./,uppercased);
	},
	makeElement : function()
	{
		div = new Element('div');
		div.insert(this.toString());
		element = div.down();

		return element;
	}
});
Object.extend(String.prototype, App.String);